*{
	box-sizing:border-box;
	margin:0;
	padding:0;
	font-family: 'Montserrat', sans-serif;

}
body{
	background:white;
}
.BMWbackground {
    position: relative;
    height: 100vh;
    width: 99vw; 
    overflow: hidden;
	
	
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
	z-index: -1;
	
}	
#bg{
   
}
#logo{
	height:50px;
	width:90px;
	cursor:pointer;
}

ul {
  list-style-type: none;
  background-color:transparent;  
}

li a {
	display:inline-block;
	color:#fcf7f7;
	padding:20px 20px;
	text-decoration:none;
	
}

li a:hover {
	background: linear-gradient(45deg, rgb(37, 37, 133) , rgb(14, 14, 67), red, rgb(174, 171, 171));
	background-clip: text;
	color: transparent;
	text-decoration:underline;
}

#nav{
	padding-inline:30px;
	padding-block:5px;
	display:flex;
	justify-content:space-between;
	align-items:center;
    position: absolute;
    top:0;
    right:0;
    left:0;

}

.left{
	display:flex;
	align-items:center;
	gap:20px;
}

#nav ul{
	display:flex;
	column-gap:10px;
}
.social-links i{
	padding-inline:10px;
	cursor:pointer;
	color:#fefafa;
}
.social-links i:hover{
	color:rgb(77, 76, 76);
}
.name{
	margin-top: 100px;
	color:white
}
.name h3{
	font-size: 20px;
	margin-left: 70px;
	margin-bottom: 100px;
}
.name p{
	font-size: 18px;
	margin-left: 100px;

}
.name span{
	font-size: 150px;
	margin-left: 100px;
	margin-top: 100px;
}
.name h6{
	font-size: 18px;
	margin-left: 100px;

}
.color p{
	padding: 18px;
	color: whitesmoke;
	background-color: rgb(59, 59, 243) ;
	margin-top: 10px;
	margin-right: 1260px;
	border-radius: 3px;
}
.color p:hover{
	background-color: blue;
	cursor: pointer;
}
.BGiX{
	margin-top: 30px;
	overflow: hidden;
	position: relative;
	color: whitesmoke;	
	margin-bottom: 30px;
}
img{
	
}
.textiX {
	position: absolute;
	top:40%;
	bottom:50%;
	left:100px;
}
.textiX h2{
	font-size: 50px;	
}
.textiX p{
	font-size: 30px;
	margin-bottom: 10px;
}
#color1 p{
	padding:20px;
	font-size: 18px;
	background-color:rgb(59, 59, 243) ;
	margin-right: 290px;
	border-radius: 4px;
}
.main{
	text-align: center;
	color: rgb(70, 69, 69);
}
.main h5{
	margin-top: 20px; 
	font-size: 40px;
	color: black;
	margin-bottom: 50px;
}
.car{
	display: flex;
	justify-content: space-between;
	overflow: hidden;
	margin-bottom: 10px;

}
#newcar{
	width:33.33%;
	height:300px;
}
#newcar img{
	width: 400px;
}
#newcar p{
	padding: 30px 20px;
	font-size: 25px;
}
#testdrive{
	width: 33.33%;
}
#testdrive img{
	width: 400px;
}
#testdrive p{
	padding: 30px 20px;
	font-size: 25px;
}
#buildown{
	width: 33.33%;
}
#buildown img{
	width:400px;
}
#buildown p{
	padding: 30px 20px;
	font-size: 25px;
}
.car span{
	border: 1px solid black;
	border-radius: 4px;
	padding: 20px;
	color: black;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;	
}
.car span:hover{
	border:2px solid black;
}
.i7{
	overflow: hidden;
	position: relative;
	color: whitesmoke;	
	margin-bottom: 30px;
}
.i7 img{
		width: 100%;
		height:100vh;
}
#series7{
	position: absolute;
	top:2 0%;
	bottom: 50%;
	left:100px;
}
#series7 h6{
	font-size: 40px;
	margin-bottom: 50px;
}
#series7 p{
	border: 1px solid white;
	color:whitesmoke;
	padding: 20px 80px;
	margin-right: 340px;
}
#series7 p:hover{
	color: black;
	border:1px solid black;
}
.imagebox{
	display: flex;
	margin-bottom: 20px;
}
.image{
	width:50%;
	padding-inline: 100px;
}
.image img{
	width:700px;
	height:400px;
}
.text{
	padding-inline: 80px;
}
.text h5{
	font-size: 15px;
	margin-top: 70px;

}
.text h6{
	font-size: 40px;
	margin-top: 10px;
}
.text p{
	margin-top: 40px;
	font-size: 20px;
	margin-bottom: 50px;
}
.text span{
	padding:20px 30px;
	margin-top: 50px;
	border: 1px solid black;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	border-radius: 4px;
}
.text span:hover{
	border: 2px solid black;
}
.hr{
	padding-inline:100px;
	color:#777777;
}
.middle{
	display:flex;
	color:#777777;
}
.middle ul{
	display:flex;
}
.middle a{
	color: #5A5A5A;
}
.middle a:hover{
	color: black;
	text-decoration: underline;
}
h6 a{
	color: #5A5A5A;
}
h6 a:hover{
	color: black;
	text-decoration: underline;
}
.last{
	display:flex;
	color:#5A5A5A;
	justify-content:center;
}
.h6{
	padding-inline:40px;
}
.footer1{
	display:flex;
	color:#0f0f0f;
	height:60px;
	justify-content:space-between;
	align-item:center !important;
	padding-inline:20px;
	padding-block:20px;
	
}
.footer1 p{
	display:flex;
	height:60px;
	padding:20px;
	align-item:center !important;
}
.footer1 span{
	color: #0f0f0f;
	margin-left: 10px;
}
.footer2{
	display:flex;
	color:#5A5A5A;
	float:right;
	padding-inline:20px;	
	justify-content:flex-end;
}
.footer2 ul{
	display:flex;
}
.footer2 a{
	color: #5A5A5A;
}
.footer2 a:hover{
	color: black;
}
@media (max-width: 768px) {
	.BMWbackground{
		width:100%;
	}
	video{
		width: 100%;
		width:fit-content;
	}
	ul li{
		display:none; 
	}
	.name h3{
		display:none;
	}
	.name p {
		padding-top: 100px;
		padding-left: 100px;
		margin-top: 450px;
		font-size: 20px;
	}	
	.name span{
		font-size: 70px;
		margin-left: 200px;
	}
	.name h6{
		margin-left: 140px
	}
	.color p{
		margin-top: 30px;
	
		display:inline-block;
		text-align: l;
	}
}